using System;
using System.Collections.Generic;
using System.Text;

namespace Web.Core.Objects
{
    public class Contact
    {
        int _id;
        string _name, _title, _email, _message, _dateAdded;

        #region Public Data

        public int ID
        {
            get { return _id; }
            set { _id = value; }
        }

        public string Name
        {
            get { return _name; }
            set { _name = value; }
        }

        public string Title
        {
            get { return _title; }
            set { _title = value; }
        }

        public string Email
        {
            get { return _email; }
            set { _email = value; }
        }

        public string Message
        {
            get { return _message; }
            set { _message = value; }
        }

        public string DateAdded
        {
            get { return _dateAdded; }
            set { _dateAdded = value; }
        }

        #endregion

        public Contact() { }

        public Contact(int id, string name, string title, string email, string message, string date)
        {
            ID = id;
            Name = name;
            Title = title;
            Email = email;
            Message = message;
            DateAdded = date;
        }
    }
}
